package base.day23;

import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;

public class MyIo7 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis=new FileInputStream("E:\\text\\e.txt");
        FileOutputStream fos=new FileOutputStream("E:\\text\\g.txt");
        byte[] bys= new byte[1024];
        int len;
        while ((len=fis.read(bys))!=-1){
            fos.write(bys,0,len);
        }
        fis.close();
        fos.close();
    }
}
